// @ 516
// _(:з」∠)_

define([ ], function() {
    'use strict';

    const Title = {};

    Title["topTitle"] = function( param ) {
        let titleHtml = `<div class="title">
                            <p class="title_main">${ param.main }</p>
                            <p class="title_sub">${ param.sub }</p>
                        </div>`;

        let titleBox = document.querySelector(".title");
        if ( titleBox ) titleBox.remove();
        document.querySelector(".main").insertAdjacentHTML( "beforeEnd", titleHtml );
    }

    window.Title = Title;

    return Title;
});